package com.xiaohong.file;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.scheduling.annotation.EnableScheduling;


/**
 * @author : xiaohong
 * @date : 2021/5/19 8:15
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.xiaohong.file.dao")
@EnableScheduling
@RefreshScope
public class FileApplication {
    public static void main(String[] args) {
        SpringApplication.run(FileApplication.class,args);
    }

}

